package com.haiheng.common.bean

import com.google.gson.Gson
import com.haiheng.library_base.http.HttpResponse

/**
 *
 * @Des:
 * @Author: hwz
 * @Date:2022/7/5 0005
 * @Version: 1.0
 */
data class DataResponse<T>(val result: T) :HttpResponse() {

    override fun toJson():String{
        return Gson().toJson(this)
    }
}